package com.hq.service.user.dao.impl;


import com.hq.dao.BaseDaoImpl;
import com.hq.model.PmsUser;
import com.hq.service.user.dao.PmsUserDao;
import org.springframework.stereotype.Repository;

@Repository("pmsUserDao")
public class PmsUserDaoImpl extends BaseDaoImpl<PmsUser> implements PmsUserDao {

	/**
	 * 根据用户登录名获取用户信息.
	 *
	 * @param userNo
	 *            .
	 * @return user .
	 */

	public PmsUser findByUserNo(String userNo) {
		return super.getSqlSession().selectOne(getStatement("findByUserNo"), userNo);
	}

}
